package com.company.homeWork;

import java.util.List;

/**
 * Created by Administrator on 2016.11.2.
 */
public class Ergodic {
    public static<E extends List> void  ergodic(E list){
        for(int i=0;i<list.size();i++){
            System.out.println(list.get(i));
        }
    }
}
